package com.ruimei.entitys.enums;

import java.io.PrintStream;

public enum Gendle
{
  MAN("男"),  WOMAN("女"),  OTHER("未知");
  
  private String name;
  
  private Gendle(String name)
  {
    this.name = name;
  }
  
  public String getName()
  {
    return this.name;
  }
  
  public static Gendle matching(String ch)
  {
    switch (ch)
    {
    case "男": 
      return MAN;
    case "女": 
      return WOMAN;
    case "未知": 
      return OTHER;

    }
    return OTHER;
  }
  
  public static void main(String[] args)
  {
  }
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\entitys\enums\Gendle.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */